package com.ruoyi.pet.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 处方对象 pet_prescription
 * 
 * @author ruoyi
 * @date 2023-09-01
 */
public class PetPrescription extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 宠物id */
    @Excel(name = "宠物id")
    private Long petId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long customerId;

    /** 诊断表id */
    @Excel(name = "诊断表id")
    private Long diagnosisId;

    /** 处方编号 */
    @Excel(name = "处方编号")
    private String orderNumber;

    /** 处方名称规格 */
    @Excel(name = "处方名称规格")
    private String name;

    /** 处方类型 */
    @Excel(name = "处方类型")
    private Integer type;

    /** 诊断医师 */
    @Excel(name = "诊断医师")
    private String doctorName;

    /** 药品每日用量 */
    @Excel(name = "药品每日用量")
    private String usageInfo;

    /** 处方数量 */
    @Excel(name = "处方数量")
    private Long count;

    /** 处方总金额 */
    @Excel(name = "处方总金额")
    private Long price;

    /** 收款状态 */
    @Excel(name = "收款状态")
    private Integer paymentStatus;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModified;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPetId(Long petId) 
    {
        this.petId = petId;
    }

    public Long getPetId() 
    {
        return petId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setDiagnosisId(Long diagnosisId) 
    {
        this.diagnosisId = diagnosisId;
    }

    public Long getDiagnosisId() 
    {
        return diagnosisId;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }
    public void setUsageInfo(String usageInfo) 
    {
        this.usageInfo = usageInfo;
    }

    public String getUsageInfo() 
    {
        return usageInfo;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setPaymentStatus(Integer paymentStatus) 
    {
        this.paymentStatus = paymentStatus;
    }

    public Integer getPaymentStatus() 
    {
        return paymentStatus;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("petId", getPetId())
            .append("customerId", getCustomerId())
            .append("diagnosisId", getDiagnosisId())
            .append("orderNumber", getOrderNumber())
            .append("name", getName())
            .append("type", getType())
            .append("doctorName", getDoctorName())
            .append("usageInfo", getUsageInfo())
            .append("count", getCount())
            .append("price", getPrice())
            .append("paymentStatus", getPaymentStatus())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .toString();
    }
}
